package com.dong.ch02_array;

import java.util.Arrays;
import java.util.List;

public class S01_Test {
    public static void main(String[] args) {
        int num =10;
        int [] arr = new int[num];
        for (int i = 0; i < 10; i++) {
            arr[i]=i;
        }

        Integer[] scores = new Integer[]{100,99,66};
        List<Integer> ints = Arrays.asList(scores);
        ints.stream()
                .forEach(System.out::println);
    }
}
